package com.youli.gb.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.youli.gb.model.SysRole;

public interface SysRoleMapper {

	SysRole getById(int id);

	List<SysRole> getAll();

	int add(SysRole sysRole);

	SysRole getByRoleName(String roleName);

	int deleteById(Integer id);

	int deleteByIds(String[] ids);

	int edit(@Param("id") Integer id, @Param("description") String description);

}
